﻿import request from '@/utils/request';
// list
export const wuziguanliList = (params) => {
    return request({
        url: '/wuziguanli/page',
        method: 'post',
        data: params,
    })
};
export const wuziguanliDetail = (id) => {
    return request({
        url: '/wuziguanli/'+id,
        method: 'get',
    })
};
// add
export const wuziguanliSave = (params) => {
    return request({
        url: '/wuziguanli',
        method: 'post',
        data: params,
    })
};
// updt
export const wuziguanliEdit = (params) => {
    return request({
        url: '/wuziguanli',
        method: 'put',
        data: params,
    })
};
// delete
export const wuziguanliDelete = (id) => {
    return request({
        url: '/wuziguanli/'+id,
        method: 'delete',
    })
};
// pldel
export const wuziguanliDeleteList = (wuziguanlis) => {
    return request({
        url: '/wuziguanli/deleteList',
        data:{list:wuziguanlis},
        method: 'post',
    })
};
// all
export const wuziguanliAllList = () => {
    return request({
        url: '/wuziguanli',
        method: 'get',
    })
};

export const wuziguanli_tj_leibie = () => {return request({url: '/wuziguanli/wuziguanli_tj_leibie',method: 'get',})};